package top.jandmla.excel.service;

import com.baomidou.mybatisplus.extension.service.IService;

import top.jandmla.excel.bean.Role;
import top.jandmla.excel.pojo.RolePojo;
import top.jandmla.excel.util.result.BaseResult;

import java.util.List;

public interface RoleService extends IService<Role> {

    BaseResult<String> deleteRoleById(Role role);

    BaseResult<String> insertRole(Role role);

    List<RolePojo> getAllRolePojo(Role role);
}
